package cn.chenxinjie.hrm.dto;

import cn.chenxinjie.hrm.domain.Employee;
import cn.chenxinjie.hrm.domain.Tenant;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author 陈鑫杰
 * @date 2022/3/9 15:05
 */
@Data
public class TenantRegDto {

    @NotNull(message = "员工信息不能为空")
    private Employee employee;

    @NotNull(message = "机构信息不能为空")
    private Tenant tenant;
    private Long mealId;
}
